# encoding=utf8
# author: allen@thecover.co
# create_time: 2024/3/12 9:46
# file: settings.py
import os

REDIS_URL = "redis://:Thecover2014@r-bp1d846qz4iy471t0t.redis.rds.aliyuncs.com:6379/8"
TASK_KEY = "TASK:{name}"
TASK_DB = 8

CONSTANT_MONGO_DB_NAME = 'chain'
CONSTANT_MONGO_DB_TASK_TABLE_NAME = 'real'

BASE_PATH = os.path.dirname(__file__)
STATIC_PATH = os.path.join(BASE_PATH, "static")
DATA_PATH = os.path.join(STATIC_PATH, "data")
# REDIS_URL = "redis://:G_R_lwjmubs5WMzGT2Z-SA@192.168.64.16:6379/5"
MONGO_URI = "mongodb://chain:chain@124.222.186.235:27017/chain"